package com.jeecms.wicool.dao.lottery;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.wicool.entity.lottery.LotteryConfig;

public interface LotteryConfigDao {

	public LotteryConfig findById(Integer id);

	public LotteryConfig save(LotteryConfig bean);

	public LotteryConfig updateByUpdater(Updater<LotteryConfig> updater);

	public LotteryConfig deleteById(Integer id);
	
	public List<LotteryConfig> getAll(CmsUser user);
}